﻿using Api.Model.Dto.ArticleDto;
using Api.Model.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Api.IServices
{
    public interface IArticleServices : IBaseServices<Article, int>
    {
        Task<List<GetArticleListOutput>> GetArticlePageListAsync(GetArticleInput input);
        Task CreateArticleAsync(CreateArticleInput input);
        Task<GetArticleOutput> GetArticleAsync(int? id);
        Task DeleteArticle(int id);
        Task UpdateArticle(UpdateArticleInput input);
    }
}
